import request from "@/utils/request.js";

// 获取就诊记录列表
export function getRegister(data) {
  return request.post('bh/outpatient/register/list',data,{sign:true});
}

// 获取待缴费单据列表
export function getUnpayList(data) {
  return request.post('bh/outpatient/unpay/list',data,{sign:true});
}

// 获取处方单二维码
export function getQrcode(data) {
  return request.post('bh/outpatient/get/qrcode',data);
}

// 创建订单
export function createOrder(data) {
  return request.post('bh/outpatient/create/order',data);
}

// 查询订单
export function queryOrder(data) {
  return request.post('bh/outpatient/query/order',data,{sign:true});
}

// dopay
export function dopay(data) {
  return request.post('bh/outpatient/dopay',data,{sign:true});
}

// 获得分页信息
export function page(data) {
  return request.post('bh/outpatient/page',data,{sign:true});
}

// 获得集合信息
export function list(data) {
  return request.post('bh/outpatient/list',data,{sign:true});
}

// 获取就诊记录
export function seeRecord(data) {
  return request.post('bh/outpatient/see/record',data,{sign:true});
}
